//
// Created by 吴锐 on 2022/2/27.
//

#ifndef EMPLOYEEMANAGEMENTSYSTEM_WORKER_H
#define EMPLOYEEMANAGEMENTSYSTEM_WORKER_H

#endif //EMPLOYEEMANAGEMENTSYSTEM_WORKER_H

#pragma once
#include <iostream>
#include <string>

using namespace std;

//职工抽象类
class Worker{
public:

    //显示个人信息
    virtual void showInfo() = 0;

    //获取岗位名称
    virtual string getDeptName() = 0;

    //职工编号
    int m_Id;
    //职工姓名
    string m_Name;
    //部门编号
    int m_DeptId;
};